#export PYINSTALLER=/data/home/uos/.local/lib/python3.7/site-packages/PyInstaller/__main__.py
#python3 $PYINSTALLER -F app.py --add-data 'templates:templates' --add-data 'static:static' -p /usr/local/bin/python3.7/dist-packages/
pyinstaller -F app.py --add-data 'templates:templates' --add-data 'static:static' --add-data 'favicon.ico:favicon.ico' -p /usr/local/lib/python3.11/dist-packages/
cp ./dist/app ./app
rm -rf ./dist
echo "Successful install app.py"